/**
 * 
 */
package com.HibernateRecipes.Chapter5.Domain;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * @author Ignatiues charles arun
 * 
 *         Dec 14, 2010
 */
public class Publisher implements Serializable
	{

		private Long publisher_id;

		private String publisher;

		private Set<Book> books = new HashSet<Book>();

		private Book bk;

		/**
		 * @return the publisher_id
		 */
		public Long getPublisher_id()
			{
				return publisher_id;
			}

		/**
		 * @param publisherId
		 *            the publisher_id to set
		 */
		public void setPublisher_id(Long publisherId)
			{
				publisher_id = publisherId;
			}

		/**
		 * @return the publisher
		 */
		public String getPublisher()
			{
				return publisher;
			}

		/**
		 * @param publisher
		 *            the publisher to set
		 */
		public void setPublisher(String publisher)
			{
				this.publisher = publisher;
			}

		/**
		 * @return the books
		 */
		public Set<Book> getBooks()
			{
				return books;
			}

		/**
		 * @param books
		 *            the books to set
		 */
		public void setBooks(Set<Book> books)
			{
				this.books = books;
			}

		/**
		 * @return the bk
		 */
		public Book getBk()
			{
				return bk;
			}

		/**
		 * @param bk
		 *            the bk to set
		 */
		public void setBk(Book bk)
			{
				this.bk = bk;
			}

	}
